using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Buka.BLL.Model;
using System.Collections.Generic;
/// <summary>
/// Summary description for BukaOnlineUsers
/// </summary>
/// 
namespace Buka.Cache
{
    public class BukaOnlineUsers
    {
        private static Dictionary<long,User> _onlineUserList;
        private User _currentUser;

       
        public User CurrentUser
        {
            get { return _currentUser; }
            set { _currentUser = value; }
        }
	

        public static Dictionary<long, User> OnlineUserList
        {
            get
            {
                if (_onlineUserList==null)
                {
                    _onlineUserList = new Dictionary<long, User>();
                }
                return _onlineUserList; 
            }
            set { _onlineUserList = value; }
        }

        //public BukaOnlineUsers()
        //{
        //    //
        //    // TODO: Add constructor logic here
        //    //
        //}
    }
}